class OssAuthResponse {
  String? accessKeyId;
  String? accessKeySecret;
  String? securityToken;
  String? expiration;

  OssAuthResponse({
    this.accessKeyId,
    this.accessKeySecret,
    this.securityToken,
    this.expiration,
  });

  factory OssAuthResponse.fromJson(Map<String, dynamic> json) {
    return OssAuthResponse(
      accessKeyId: json['accessKeyId'] as String?,
      accessKeySecret: json['accessKeySecret'] as String?,
      securityToken: json['securityToken'] as String?,
      expiration: json['expiration'] as String?,
    );
  }

  Map<String, dynamic> toJson() => {
        'accessKeyId': accessKeyId,
        'accessKeySecret': accessKeySecret,
        'securityToken': securityToken,
        'expiration': expiration,
      };
}
